package cn.itsource.pet.domain;

import cn.itsource.basic.domain.BaseTreeNode;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Table;

@Table(name = "t_pet_type") //tkmybatis实体类指向的数据库表名
@Data  //生成get set toString
@ApiModel(value = "对象", description = "对象实体类")
public class PetType extends BaseTreeNode<PetType> {
    //名称
    private String name;
    //描述
    private String description;
    //父id
    private Long pid;

}
